package com.cheng.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cheng.data.entity.RoleInfoEntity;
import com.cheng.data.vo.PermInfoVO;
import com.cheng.data.vo.RoleInfoVO;

import java.util.List;
import java.util.Map;

/**
 * @author: Chengjw
 * @date: 2021/8/1 18:51
 * @version: 1.0
 * @description: 角色
 */
public interface RoleInfoMaper extends BaseMapper<RoleInfoEntity> {

    /**
    * @author: ChengJW
    * @params: [map]
    * @return: java.util.List<com.cheng.data.vo.PermInfoVO>
    * @date: 2021/11/16
    * @description: 根据角色信息，查询角色的权限信息
    */
    List<PermInfoVO> queryRoleInfoList(Map<String,Object> map);
}
